#include "Result.h"

Result::Result(){
	stu_id = 0;
	m_score = 0;
	f_score = 0;
	s_id = "";
}
Result::Result(int i_stu_id, string i_s_id, int i_m_score, int i_f_score){
	stu_id = i_stu_id;
	s_id = i_s_id;
	m_score = i_m_score;
	f_score = i_f_score;
}
void Result::Set_stu_id(int i_stu_id){
	stu_id = i_stu_id;
}
void Result::Set_s_id(string i_s_id){
	s_id = i_s_id;
}
void Result::Set_midterm(int i_m_score){
	m_score = i_m_score;
}
void Result::Set_final(int i_f_score){
	f_score = i_f_score;
}

int Result::Get_stu_id(){
	return stu_id;
}
string Result::Get_s_id(){
	return s_id;
}
int Result::Get_midterm(){
	return m_score;
}
int Result::Get_final(){
	return f_score;
}
